//package bot.send.msssgin;
//
//import com.zhenzi.sms.ZhenziSmsClient;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import java.util.HashMap;
//import java.util.Map;
//
//@Controller
//@RequestMapping("phone")
//public class SendPhone {
//String apiUrl = "https://sms_developer.zhenzikj.com";
//String appId = "112403";
//String appSecret = "d01165b2-ce71-4bbe-b27b-0e7c8f0fc53e";
//    ZhenziSmsClient client = new ZhenziSmsClient(apiUrl, appId, appSecret);
//    @GetMapping("send")
//    public String SendPhoneS() throws Exception {
//        Map<String, Object> params = new HashMap<String, Object>();
//        params.put("number", "");
//        params.put("templateId", "10472");
//        String[] templateParams = new String[2];
//        templateParams[0] = "3421";
//        templateParams[1] = "5分钟";
//        params.put("templateParams", templateParams);
//        String result = client.send(params);
//        return result;
//    }
//}
